package com.uui.mapper.menu;

import java.util.HashMap;
import java.util.List;

import com.uui.bean.FirstMenu;
import com.uui.util.ResultMap;

public interface MenuMapper {
	
	List<ResultMap<String,Object>> queryMainMenu(HashMap<String,Object>  whereMap);
	
	List<ResultMap<String, Object>> queryMenu(HashMap<String, Object> whereMap);
	
	void deleteMainMenu(String id);
	
	void updateMainMenu(FirstMenu menu);
	
	void addMainMenu(FirstMenu menu);
	
	List<ResultMap<String, Object>> queryAuthority();
}